package cz.zcu.fav.rat.rest.beans;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "occupations")
@XmlType(name = "")
public class OccupationsMapping
{
	@XmlElement(name = "occupation")
	private List<OccupationMapping> occupation = new ArrayList<OccupationMapping>();

	public List<OccupationMapping> getDate()
	{
		return occupation;
	}

	public void addDate(OccupationMapping date)
	{
		this.occupation.add(date);
	}
}
